package com.tedu.day05mybatis.mapper;

import com.tedu.day05mybatis.pojo.Weibo;
import com.tedu.day05mybatis.pojo.WeiboVO1;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WeiboMapper {

    int insert(Weibo weibo);

    int deleteById(Integer id);

    int updateById(Weibo weibo);

    Weibo findById(Integer id);

    List<Weibo> findAll();

    WeiboVO1 getWeiboById(int id);

    int dynameicUpsate(Weibo weibo);

    int deleteByIds(int[] id);
}
